
TEMPLATE = subdirs

include(common.pri)


# subdirs for all platforms
#CONFIG += ordered
SUBDIRS = \
	gpio \
	gpiotools \
	gcommon \
	gparams \
	gparamdescription \
	libcamera \
	libfakecamera \
	libanalyzer \
	gjpeg2k-jasper \
	gjpeg2k-j2k-codec \
	libgnet \
	libautonet \
	gdialogs \
	gwidgets \
	eventsender \
	eventbaseserver \
	adjuster \
	autoserver \
	miniticketcenter \
	image2png \
#	teststreamer \
#	simpleviewer \
	imageviewer \
#	transformation
	
contains( PLATFORM, linux ){
	SUBDIRS -= \
		gjpeg2k-j2k-codec \
		libcamera \
		gpio \
		gpiotools
}

contains( PLATFORM, arm ){
    # subdirs not for embedded
    SUBDIRS -= 	\
		simpleviewer \
    	gjpeg2k-j2k-codec \
		adjuster \
		gjpeg2k-jasper \
		libjasper \
		gdialogs \
		gwidgets \
		libfakecamera \
		eventsender \
		miniticketcenter \
		image2png \
		transformation \
		imageviewer
}

# == windows-only/only not subprojects ==
win32{
    SUBDIRS -= \
      gpio \
      gpiotools \
		libfakecamera \
		libcamera \
		autoserver \
		eventsender \
		eventbaseserver \
		gjpeg2k-jasper \
		image2png \
		simpleviewer \
    	teststreamer \
		transformation \
		imageviewer
}
